<template>
  <div>
    <p></p>
    <van-button type="primary">主要按钮</van-button>
    <van-button type="success">成功按钮</van-button>
  </div>
</template>
<script>
import { Button } from "vant";
console.log(Button);
export default {
  components: {
    [Button.name]: Button,
  },
};
</script>
<style>
p {
  width: 1rem;
  height: 1rem;
  background-color: red;
}
</style>
